package com.asohofrucol.dto;

import java.util.Date;

public class RuatRegisterDTO {

	private Long id;
	private String address;
	private String associateLastName;
	private String associateName;
	private String associateVillage;
	private Date bornDate;
	private String catastralIdentification;
	private String cellphone;
	private String distanceMunicipalityTown;
	private String farmName;
	private String farmSector;
	private String farmTotalArea;
	private String farmVillage;
	private String farmingIncome;
	private String firstLastName;
	private String firstName;
	private String followLastName;
	private String followName;
	private String followProductOther;
	private String idNumber;
	private String lastGrade;
	private Long machineryAndEquipment;
	private Long meansOfTransportation;
	private Date modifiedDate;
	private String modifierUser;
	private String originOfCreditOther;
	private String peopleDepend;
	private String secondLastName;
	private String secondName;
	private String status;
	private String telephone;
	private String totalFamilyIncome;
	private String village;
	private String email;

	// private List<AgrarianResource> agrarianResources;

	// //bi-directional many-to-one association to Associativity
	// @OneToMany(mappedBy="ruat")
	// private List<Associativity> associativities;
	//
	// //bi-directional many-to-one association to ForestResource
	// @OneToMany(mappedBy="ruat")
	// private List<ForestResource> forestResources;
	//
	// //bi-directional many-to-one association to LivestockResource
	// @OneToMany(mappedBy="ruat")
	// private List<LivestockResource> livestockResources;
	//
	// //bi-directional many-to-one association to ProcessTransferInnovation
	// @OneToMany(mappedBy="ruat")
	// private List<ProcessTransferInnovation> processTransferInnovations;

	private Long sex;
	private Long idType;
	private Long educationalLevel;
	private String departament;
	private String municipality;
	private Long usingCurrentCredit = 2L;
	private Long originOfCredit;
	private Long innovationProcesses = 2L;
	private Long associationsMembership;
	private Long reasonNotToBelong;
	private Long workingInPartnership = 2L;
	private Long confidenceGrade;
	private Long followProduct;
	private Long frequencyOfConsultation;
	private Long farm = 1L;
	private Long farmTenure;
	private String farmDepartament;
	private String farmMunicipality;
	private Long wasteManagementProgram = 2L;
	private Long wasteManagementProgramClass;
	private Long availabilityOfAccesRoads = 2L;
	private Long paved;
	private Long noPaved;
	private Long entitiesProvidingSupport = 2L;
	private String entitiesProvidingSupportName;
	private Long farmOwnWater;
	private Long farmAqueduct;
	private Long farmInternetAccess;
	private Long farmElectricPower;
	// replica de los anteriores para ajustar el tipo de dato en los checkbox
	private Boolean farmOwnWaterBoolean = false;
	private Boolean farmAqueductBoolean = false;
	private Boolean farmInternetAccessBoolean = false;
	private Boolean farmElectricPowerBoolean = false;

	private String fullName; // Nombres concatenados
	private String fullLastName; // Apellidos concatenados

	private String idTypeDesc;

	public RuatRegisterDTO() {
		innovationProcesses = 2L;
		associationsMembership = 2L;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getAssociateLastName() {
		return associateLastName;
	}

	public void setAssociateLastName(String associateLastName) {
		this.associateLastName = associateLastName;
	}

	public String getAssociateName() {
		return associateName;
	}

	public void setAssociateName(String associateName) {
		this.associateName = associateName;
	}

	public String getAssociateVillage() {
		return associateVillage;
	}

	public void setAssociateVillage(String associateVillage) {
		this.associateVillage = associateVillage;
	}

	public Date getBornDate() {
		return bornDate;
	}

	public void setBornDate(Date bornDate) {
		this.bornDate = bornDate;
	}

	public String getCatastralIdentification() {
		return catastralIdentification;
	}

	public void setCatastralIdentification(String catastralIdentification) {
		this.catastralIdentification = catastralIdentification;
	}

	public String getCellphone() {
		return cellphone;
	}

	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}

	public String getDistanceMunicipalityTown() {
		return distanceMunicipalityTown;
	}

	public void setDistanceMunicipalityTown(String distanceMunicipalityTown) {
		this.distanceMunicipalityTown = distanceMunicipalityTown;
	}

	public String getFarmName() {
		return farmName;
	}

	public void setFarmName(String farmName) {
		this.farmName = farmName;
	}

	public String getFarmSector() {
		return farmSector;
	}

	public void setFarmSector(String farmSector) {
		this.farmSector = farmSector;
	}

	public String getFarmTotalArea() {
		return farmTotalArea;
	}

	public void setFarmTotalArea(String farmTotalArea) {
		this.farmTotalArea = farmTotalArea;
	}

	public String getFarmVillage() {
		return farmVillage;
	}

	public void setFarmVillage(String farmVillage) {
		this.farmVillage = farmVillage;
	}

	public String getFarmingIncome() {
		return farmingIncome;
	}

	public void setFarmingIncome(String farmingIncome) {
		this.farmingIncome = farmingIncome;
	}

	public String getFirstLastName() {
		return firstLastName;
	}

	public void setFirstLastName(String firstLastName) {
		this.firstLastName = firstLastName;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getFollowLastName() {
		return followLastName;
	}

	public void setFollowLastName(String followLastName) {
		this.followLastName = followLastName;
	}

	public String getFollowName() {
		return followName;
	}

	public void setFollowName(String followName) {
		this.followName = followName;
	}

	public String getFollowProductOther() {
		return followProductOther;
	}

	public void setFollowProductOther(String followProductOther) {
		this.followProductOther = followProductOther;
	}

	public String getIdNumber() {
		return idNumber;
	}

	public void setIdNumber(String idNumber) {
		this.idNumber = idNumber;
	}

	public String getLastGrade() {
		return lastGrade;
	}

	public void setLastGrade(String lastGrade) {
		this.lastGrade = lastGrade;
	}

	public Long getMachineryAndEquipment() {
		return machineryAndEquipment;
	}

	public void setMachineryAndEquipment(Long machineryAndEquipment) {
		this.machineryAndEquipment = machineryAndEquipment;
	}

	public Long getMeansOfTransportation() {
		return meansOfTransportation;
	}

	public void setMeansOfTransportation(Long meansOfTransportation) {
		this.meansOfTransportation = meansOfTransportation;
	}

	public Date getModifiedDate() {
		return modifiedDate;
	}

	public void setModifiedDate(Date modifiedDate) {
		this.modifiedDate = modifiedDate;
	}

	public String getModifierUser() {
		return modifierUser;
	}

	public void setModifierUser(String modifierUser) {
		this.modifierUser = modifierUser;
	}

	public String getOriginOfCreditOther() {
		return originOfCreditOther;
	}

	public void setOriginOfCreditOther(String originOfCreditOther) {
		this.originOfCreditOther = originOfCreditOther;
	}

	public String getPeopleDepend() {
		return peopleDepend;
	}

	public void setPeopleDepend(String peopleDepend) {
		this.peopleDepend = peopleDepend;
	}

	public String getSecondLastName() {
		return secondLastName;
	}

	public void setSecondLastName(String secondLastName) {
		this.secondLastName = secondLastName;
	}

	public String getSecondName() {
		return secondName;
	}

	public void setSecondName(String secondName) {
		this.secondName = secondName;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getTotalFamilyIncome() {
		return totalFamilyIncome;
	}

	public void setTotalFamilyIncome(String totalFamilyIncome) {
		this.totalFamilyIncome = totalFamilyIncome;
	}

	public String getVillage() {
		return village;
	}

	public void setVillage(String village) {
		this.village = village;
	}

	public Long getSex() {
		return sex;
	}

	public void setSex(Long sex) {
		this.sex = sex;
	}

	public Long getIdType() {
		return idType;
	}

	public void setIdType(Long idType) {
		this.idType = idType;
	}

	public Long getEducationalLevel() {
		return educationalLevel;
	}

	public void setEducationalLevel(Long educationalLevel) {
		this.educationalLevel = educationalLevel;
	}

	public String getDepartament() {
		return departament;
	}

	public void setDepartament(String departament) {
		this.departament = departament;
	}

	public String getMunicipality() {
		return municipality;
	}

	public void setMunicipality(String municipality) {
		this.municipality = municipality;
	}

	public Long getUsingCurrentCredit() {
		return usingCurrentCredit;
	}

	public void setUsingCurrentCredit(Long usingCurrentCredit) {
		this.usingCurrentCredit = usingCurrentCredit;
	}

	public Long getOriginOfCredit() {
		return originOfCredit;
	}

	public void setOriginOfCredit(Long originOfCredit) {
		this.originOfCredit = originOfCredit;
	}

	public Long getInnovationProcesses() {
		return innovationProcesses;
	}

	public void setInnovationProcesses(Long innovationProcesses) {
		this.innovationProcesses = innovationProcesses;
	}

	public Long getAssociationsMembership() {
		return associationsMembership;
	}

	public void setAssociationsMembership(Long associationsMembership) {
		this.associationsMembership = associationsMembership;
	}

	public Long getReasonNotToBelong() {
		return reasonNotToBelong;
	}

	public void setReasonNotToBelong(Long reasonNotToBelong) {
		this.reasonNotToBelong = reasonNotToBelong;
	}

	public Long getWorkingInPartnership() {
		return workingInPartnership;
	}

	public void setWorkingInPartnership(Long workingInPartnership) {
		this.workingInPartnership = workingInPartnership;
	}

	public Long getConfidenceGrade() {
		return confidenceGrade;
	}

	public void setConfidenceGrade(Long confidenceGrade) {
		this.confidenceGrade = confidenceGrade;
	}

	public Long getFollowProduct() {
		return followProduct;
	}

	public void setFollowProduct(Long followProduct) {
		this.followProduct = followProduct;
	}

	public Long getFrequencyOfConsultation() {
		return frequencyOfConsultation;
	}

	public void setFrequencyOfConsultation(Long frequencyOfConsultation) {
		this.frequencyOfConsultation = frequencyOfConsultation;
	}

	public Long getFarm() {
		return farm;
	}

	public void setFarm(Long farm) {
		this.farm = farm;
	}

	public Long getFarmTenure() {
		return farmTenure;
	}

	public void setFarmTenure(Long farmTenure) {
		this.farmTenure = farmTenure;
	}

	public String getFarmDepartament() {
		return farmDepartament;
	}

	public void setFarmDepartament(String farmDepartament) {
		this.farmDepartament = farmDepartament;
	}

	public String getFarmMunicipality() {
		return farmMunicipality;
	}

	public void setFarmMunicipality(String farmMunicipality) {
		this.farmMunicipality = farmMunicipality;
	}

	public Long getWasteManagementProgram() {
		return wasteManagementProgram;
	}

	public void setWasteManagementProgram(Long wasteManagementProgram) {
		this.wasteManagementProgram = wasteManagementProgram;
	}

	public Long getAvailabilityOfAccesRoads() {
		return availabilityOfAccesRoads;
	}

	public void setAvailabilityOfAccesRoads(Long availabilityOfAccesRoads) {
		this.availabilityOfAccesRoads = availabilityOfAccesRoads;
	}

	public Long getPaved() {
		return paved;
	}

	public void setPaved(Long paved) {
		this.paved = paved;
	}

	public Long getNoPaved() {
		return noPaved;
	}

	public void setNoPaved(Long noPaved) {
		this.noPaved = noPaved;
	}

	public Long getEntitiesProvidingSupport() {
		return entitiesProvidingSupport;
	}

	public void setEntitiesProvidingSupport(Long entitiesProvidingSupport) {
		this.entitiesProvidingSupport = entitiesProvidingSupport;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getIdTypeDesc() {
		return idTypeDesc;
	}

	public void setIdTypeDesc(String idTypeDesc) {
		this.idTypeDesc = idTypeDesc;
	}

	public String getEntitiesProvidingSupportName() {
		return entitiesProvidingSupportName;
	}

	public void setEntitiesProvidingSupportName(
			String entitiesProvidingSupportName) {
		this.entitiesProvidingSupportName = entitiesProvidingSupportName;
	}

	public Long getFarmOwnWater() {
		return farmOwnWater;
	}

	public void setFarmOwnWater(Long farmOwnWater) {
		this.farmOwnWater = farmOwnWater;
	}

	public Long getFarmAqueduct() {
		return farmAqueduct;
	}

	public void setFarmAqueduct(Long farmAqueduct) {
		this.farmAqueduct = farmAqueduct;
	}

	public Long getFarmInternetAccess() {
		return farmInternetAccess;
	}

	public void setFarmInternetAccess(Long farmInternetAccess) {
		this.farmInternetAccess = farmInternetAccess;
	}

	public Long getFarmElectricPower() {
		return farmElectricPower;
	}

	public void setFarmElectricPower(Long farmElectricPower) {
		this.farmElectricPower = farmElectricPower;
	}

	public Long getWasteManagementProgramClass() {
		return wasteManagementProgramClass;
	}

	public void setWasteManagementProgramClass(Long wasteManagementProgramClass) {
		this.wasteManagementProgramClass = wasteManagementProgramClass;
	}

	public Boolean getFarmOwnWaterBoolean() {
		return farmOwnWaterBoolean;
	}

	public void setFarmOwnWaterBoolean(Boolean farmOwnWaterBoolean) {
		this.farmOwnWaterBoolean = farmOwnWaterBoolean;
	}

	public Boolean getFarmAqueductBoolean() {
		return farmAqueductBoolean;
	}

	public void setFarmAqueductBoolean(Boolean farmAqueductBoolean) {
		this.farmAqueductBoolean = farmAqueductBoolean;
	}

	public Boolean getFarmInternetAccessBoolean() {
		return farmInternetAccessBoolean;
	}

	public void setFarmInternetAccessBoolean(Boolean farmInternetAccessBoolean) {
		this.farmInternetAccessBoolean = farmInternetAccessBoolean;
	}

	public Boolean getFarmElectricPowerBoolean() {
		return farmElectricPowerBoolean;
	}

	public void setFarmElectricPowerBoolean(Boolean farmElectricPowerBoolean) {
		this.farmElectricPowerBoolean = farmElectricPowerBoolean;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getFullLastName() {
		return fullLastName;
	}

	public void setFullLastName(String fullLastName) {
		this.fullLastName = fullLastName;
	}

	public int getIntStatus() {
		if (this.status != null && this.status != "") {
			return Integer.parseInt(this.status);
		}
		return 0;
	}
}
